import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)

/**
 * Write a description of class BalaA here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class BalaA extends Actor
{
    /**
     * Act - do whatever the BalaA wants to do. This method is called whenever
     * the 'Act' or 'Run' button gets pressed in the environment.
     * <pre>
     * Rota al actor -90 y lo mueve 4. 
     */
    public void act() 
    {
        setRotation(-90);
        move (4);// Add your action code here.
        if(isAtEdge())
        {
            getWorld().removeObject(this);
        }
    }    
}
